<?php

declare(strict_types=1);

namespace Plugin\Attractions\AttractionManagement\Model;

use Hyperf\Database\Model\SoftDeletes;
use Hyperf\DbConnection\Model\Model as MineModel;

/**
 * @property string $booking_id 预约id
 * @property int $tourist_id 游客id
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class AttractionUserTouristBooking extends MineModel
{
    use SoftDeletes;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'attraction_user_tourist_booking';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['booking_id', 'tourist_id'];

    public bool $timestamps = false;

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = [
        'tourist_id' => 'integer'
    ];
}